package com.shopping.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.shopping.model.Order;
import com.shopping.param.OrderParam;
import com.shopping.response.OrderResp;

public interface OrderMapper {
    int deleteByPrimaryKey(Integer orderid);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(Integer orderid);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);
    
    List<Order> select(Order param);

	public int count(@Param(value = "delflag") String delflag);

	public List<OrderResp> findOrderAndDetails(OrderParam param);
}